package com.example.passport.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 角色
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Role {

    public static final int STATUS_ENABLE = 1;  // 可用
    public static final int STATUS_DISABLE = 2; // 停用
    public static final int STATUS_DELETE = 9;  // 删除

    private int id;
    private Long tenantId;
    private String name;
    private String spec;
    private int sort;
    private int status;
    private Date createdAt;
    private Date updatedAt;
}
